]> dgit.raspbian.org Git - gnome-shell.git/commit
st: Only emit ::style-changed on actual changes
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 19 Apr 2019 13:43:39 +0000 (13:43 +0000)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 22 Apr 2019 18:09:26 +0000 (18:09 +0000)
commitf662864adab3ddfc0e6b730c5afd25cbefb99da7
tree50230f7d3ca1b45000967e1eff538c16459c6b70
parent9090b7dc3ddbc2ff6d0445d071a07eae525000b4
st: Only emit ::style-changed on actual changes

Compare painting/geometry of old and new paint nodes, so it's ensured to
be only emitted on actual style changes. Emission still must be propagated
through to children, though.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1153
(cherry picked from commit f74c07b9acbdc6945ca37f86bc680701f048f174)
src/st/st-widget.c